home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Developer Essentials / MPW Interfaces & Libraries / CIncludes / Scrap.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-01-29  |  963 b   |  55 lines  |  [TEXT/MPS ]

  1.  
  2. /************************************************************
  3.  
  4. Created: Sunday, September 15, 1991 at 8:18 PM
  5.  Scrap.h
  6.  C Interface to the Macintosh Libraries
  7.  
  8.  
  9.   Copyright Apple Computer, Inc. 1985-1991
  10.   All rights reserved
  11.  
  12. ************************************************************/
  13.  
  14.  
  15. #ifndef __SCRAP__
  16. #define __SCRAP__
  17.  
  18. #ifndef __TYPES__
  19. #include <Types.h>
  20. #endif
  21.  
  22.  
  23. struct ScrapStuff {
  24.  long scrapSize;
  25.  Handle scrapHandle;
  26.  short scrapCount;
  27.  short scrapState;
  28.  StringPtr scrapName;
  29. };
  30.  
  31. typedef struct ScrapStuff ScrapStuff;
  32. typedef ScrapStuff *PScrapStuff;
  33.  
  34.  
  35. #ifdef __cplusplus
  36. extern "C" {
  37. #endif
  38. pascal PScrapStuff InfoScrap(void)
  39.  = 0xA9F9; 
  40. pascal long UnloadScrap(void)
  41.  = 0xA9FA; 
  42. pascal long LoadScrap(void)
  43.  = 0xA9FB; 
  44. pascal long GetScrap(Handle hDest,ResType theType,long *offset)
  45.  = 0xA9FD; 
  46. pascal long ZeroScrap(void)
  47.  = 0xA9FC; 
  48. pascal long PutScrap(long length,ResType theType,Ptr source)
  49.  = 0xA9FE; 
  50. #ifdef __cplusplus
  51. }
  52. #endif
  53.  
  54. #endif
  55.